package com.itc.api.controller;

import com.aliyun.dysmsapi20170525.models.SendSmsResponse;
import com.itc.api.response.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 验证码控制器
 *
 * @author Navcoo
 * @date 2024-11-20
 */
@RequestMapping("/v1/auth_code")
public class AuthCodeController {

    @PostMapping("/send")
    public Result<SendSmsResponse> send(String phoneNumber) {
        return send(phoneNumber);
    }

}
